<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="menu">
      <button id="btnSave">Save</button>
      <button id="btnLoad">Load</button>
      <button id="btnSearch">Search</button>
    </div>
    <script>
      function save() {
        console.log("save");
      }
      function load() {
        console.log("load");
      }
      function search() {
        console.log("search");
      }
      const btnSave = document.getElementById("btnSave");
      const btnLoad = document.getElementById("btnLoad");
      const btnSearch = document.getElementById("btnSearch");

      btnSave.onclick = function () {
        save();
      };

      btnLoad.onclick = function () {
        load();
      };

      btnSearch.onclick = function () {
        search();
      };
    </script>
  </body>
</html>
